package com.faceye.core.service.export.excel.data;

import java.io.Serializable;
/**
 * Excel 一个单元格数据
 * @author songhaipeng
 *
 */
public class DCell<T> implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 8464786506875885596L;
	/**
	 * Cell值
	 */
	private T v = null;
	
	/**
	 * 是否为标题
	 */
	private Boolean isHeader=Boolean.FALSE;
	
	/**
	 * 是否使用极小字体
	 */
	private boolean isUseMiniFontSize=false;

	private Boolean isFormula=false;//单元格是否是公式

	public T getV() {
		return v;
	}

	public void setV(T v) {
		this.v = v;
	}

	public Boolean getIsHeader() {
		return isHeader;
	}

	public void setIsHeader(Boolean isHeader) {
		this.isHeader = isHeader;
	}

	public boolean isUseMiniFontSize() {
		return isUseMiniFontSize;
	}

	public void setUseMiniFontSize(boolean isUseMiniFontSize) {
		this.isUseMiniFontSize = isUseMiniFontSize;
	}

	public Boolean getFormula() {
		return isFormula;
	}

	public void setFormula(Boolean formula) {
		isFormula = formula;
	}
}
